
import Request from "@/utils/request";
import qs from 'qs';

/* 首页 */
// 获取首页信息
export  const getArticleList = (data) => Request.request("GET", "/article/list", data).then((res) => res.data);
// 获取文章详情
export  const getArticleDetail = (articleId) => Request.request("GET", `/article/detail?articleId=${articleId}`,).then((res) => res.data);


// 意见反馈
export  const createSuggestion = (data) => Request.request("POST", "/suggestion/submit", data).then((res) => res.data);